<?php

namespace Design\Creational\Builder;

use Design\Creational\Builder\Vehicle;

class Director
{


    public function build(Builder $builder)
    {
        $builder->createVehicle();
        $builder->addDoors();
        $builder->addEngine();
        $builder->addWheel();

        return $builder->getVehicle();

    }//end build()


}//end class
